package at.ac.univie.zsu.aguataplan.exception;

/**
 * throws if something with the ftp handling goes wrong
 * 
 * ftp server must be running
 * 
 * @author gerry
 * 
 */
public class FtpHandlingException extends Exception {

	private static final long serialVersionUID = 1L;

	private int status;

	// ----------------------------------------------------
	// CONSTRUCTOR
	// ----------------------------------------------------

	public FtpHandlingException(String s, int status) {
		super(s);
		this.status = status;
	}

	// ----------------------------------------------------
	// METHODS
	// ----------------------------------------------------

	/**
	 * get status of exception
	 * 
	 * @return
	 */
	public int getStatus() {
		return status;
	}

}
